function startMove(obj,jason,fn){

	clearInterval(obj.timer);
	
	var flag = true;
	obj.timer = setInterval(function(){

		for(attr in jason){
			//1.取得当前值
			iCur = 0;
			if(attr == "opacity"){
			iCur = Math.round(parseFloat(getStyle(obj,attr))*100);
			}else{
				iCur = parseInt(getStyle(obj,attr));
			}

			//2.计算速度
			var speed = (jason[attr] - iCur)/10;
			speed = speed > 0 ? Math.ceil(speed):Math.floor(speed); 

			//3.检测停止
			if(parseInt(obj.style[attr]) != jason[attr]){
				flag = false; 
			}
			if(attr == "opacity"){
				// obj.style.filter = 'alpha:(opacity:'+(iCur + speed)+')';
				obj.style[attr] = (iCur + speed)/100;
			}else{
				obj.style[attr] = iCur + speed + "px";   
			}
			if(flag){
				clearInterval(obj.timer);
				if(fn){
					fn();
				}
			}
		}
	},30)
}

function getStyle(obj,attr){
	if(obj.currentStyle){
		return obj.currentStyle[attr];
	}else{
		return getComputedStyle(obj,false)[attr];
	}
}



